package com.hyperboost.backend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hyperboost.common.annotation.Excel;
import com.hyperboost.common.core.domain.BaseEntity;

/**
 * 机会管理对象 tb_opportunity
 * 
 * @author LXY
 * @date 2025-04-08
 */
public class Opportunity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机会ID */
    private Long opportunityId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 机会标题 */
    @Excel(name = "机会标题")
    private String title;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverImage;

    /** 机会内容 */
    private String content;

    /** 评论数量 */
    @Excel(name = "评论数量")
    private Long commentCount;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long viewCount;

    /** 状态 */
    @Excel(name = "状态")
    private Long opportunityStatus;

    public void setOpportunityId(Long opportunityId) 
    {
        this.opportunityId = opportunityId;
    }

    public Long getOpportunityId() 
    {
        return opportunityId;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setCoverImage(String coverImage) 
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage() 
    {
        return coverImage;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setCommentCount(Long commentCount) 
    {
        this.commentCount = commentCount;
    }

    public Long getCommentCount() 
    {
        return commentCount;
    }

    public void setViewCount(Long viewCount) 
    {
        this.viewCount = viewCount;
    }

    public Long getViewCount() 
    {
        return viewCount;
    }

    public void setOpportunityStatus(Long opportunityStatus) 
    {
        this.opportunityStatus = opportunityStatus;
    }

    public Long getOpportunityStatus() 
    {
        return opportunityStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("opportunityId", getOpportunityId())
            .append("categoryId", getCategoryId())
            .append("title", getTitle())
            .append("coverImage", getCoverImage())
            .append("content", getContent())
            .append("commentCount", getCommentCount())
            .append("viewCount", getViewCount())
            .append("opportunityStatus", getOpportunityStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
